<?php /* Smarty version Smarty-3.1.18, created on 2016-11-02 08:37:01
         compiled from ".\view\data.html" */ ?>
<?php /*%%SmartyHeaderCode:303855819a3f3094c36-95929722%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c39c12d5ca4fd5182a6b56a46cbfd25bc31008be' => 
    array (
      0 => '.\\view\\data.html',
      1 => 1478075818,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '303855819a3f3094c36-95929722',
  'function' => 
  array (
  ),
  'cache_lifetime' => 3600,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_5819a3f30ee9d6_90740049',
  'variables' => 
  array (
    'title' => 0,
    'arr' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5819a3f30ee9d6_90740049')) {function content_5819a3f30ee9d6_90740049($_smarty_tpl) {?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</title>
	<style type="text/css">
		table{
			font-family:微软雅黑;

		}
		h3{
			font-family:微软雅黑;
		}

	</style>
</head>
<body>
	<center>
		<?php echo $_smarty_tpl->getSubTemplate ('menu.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0);?>


		<h3>浏览新闻</h3>

		<table border='1' width='880'>
			<tr>
				<th>新闻ID</th><th>新闻标题</th><th>新闻关键字</th><th>作者</th><th>发布时间</th><th>新闻内容</th><th>操作</th>
			</tr>
			
			<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['arr']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
				<tr>
					<td><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['v']->value['keywords'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['v']->value['author'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['v']->value['addtime'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['v']->value['content'];?>
</td>
					<td>修改 删除</td>
				</tr>			
			<?php } ?>
		</table>
		
	</center>	
</body>
</html><?php }} ?>
